# -*- coding: utf-8 -*-
# Created by liangfuting on 2020/8/18
# Copyright (c) 2020 liangfuting. All rights reserved.
from stark.service.v1 import StarkHandler

class SchoolHandler(StarkHandler):
    # def get_urls(self):
    #     patterns = []
    #     # print(self.get_add_url_name, self.get_list_url_name, self.get_edit_url_name, self.get_del_url_name)
    #     patterns.append(path('', self.list_view, name="{}_list".format(self.model_name)))
    #     patterns.append(path('add/', self.add_view, name="{}_add".format(self.model_name)))
    #     return patterns
    list_display = ['id', 'title','address']
    order_list = ['id']
    search_list = ['title','address']
